/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 * Description: callback function for memory hardware error caused panic
 * Author: Lv Ying
 * Create: 2022-02-09
 */
#ifndef _EULEROS_MEMORY_ERROR_PANIC_NOTIFY_H
#define _EULEROS_MEMORY_ERROR_PANIC_NOTIFY_H

extern int mce_register_panic_notifier_chain(struct notifier_block *nb);
extern int mce_unregister_panic_notifier_chain(struct notifier_block *nb);
extern void notify_mce_panic(void);
#endif
